Debug Capturing VoIP and Data-Router Traffic

You can capture VoIP and data-router network traffic by sending traces to the CLI or to a file that is later sent to a FTP or TFTP server. The traffic can be captured using the following CLI commands to start the debug capture process:

Data-router related debug capturing:
# debug capture data interface <name> <slot/port> proto <protocol>  host <host> port <port> [ftp-server|tftp-server] <IP address>

For example:

# debug capture data interface GigabitEthernet 0/0 proto udp host any port any ftp-server 192.168.0.15
Voice-related debug capturing:
# debug capture voip interface <name> <slot/port> proto <protocol>  host <host> port <port> [ftp-server|tftp-server] <IP address>

For example:

# debug capture voip interface vlan 1 proto all host any port any ftp-server 10.4.2.58